package edu.hawaii.kukui

class ActivityImageAttempt {

  byte[] activityImage
  String imageCaption
  String noteToAdmin

  String validateStatus
  String validateComment
  Date selectTimestamp
  Date submitTimestamp
  Date validateTimestamp
  Activity activity
  KukuiUser kukuiUser

  Date dateCreated
  Date lastUpdated

  static belongsTo = [activity: Activity, kukuiUser: KukuiUser]

  static constraints = {
    activityImage(nullable: true)
    imageCaption(maxSize: 500, nullable: true)
    noteToAdmin(maxSize: 1500, nullable: true)
    validateStatus(inList: ["Selected", "Submitted", "Awarded", "Declined"], nullable: true)
    validateComment(maxSize:1500, nullable: true)



  }
}
